package own.rpc.nio;

import java.net.InetSocketAddress;

import own.rpc.IHelloService;

public class NioClientMain {

	public static void main(String[] args) {
		IHelloService service = NioRPCClient.getRemoteProxyObj(IHelloService.class,
				new InetSocketAddress("localhost", 9999));
		System.out.println(service.sayHi("just test"));
	}

}
